package com.jintu.portal.pojo.entity;

import com.jintu.portal.pojo.bean.BaseEntity;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by liyou on 2017/9/21.
 */
@Entity
@Table(name = "t_sys_notice")
public class TSysNotice extends BaseEntity {
    private Long id;
    private String title;
    private String content;
    private Date startTime;

    @Column(name = "app_end_time")
    private Date appEndTime;

    private String showChannel;

    @Column(name = "app_show_hour")
    private Integer appShowHour;

    @Column(name = "img_url")
    private String imgUrl;
    private Date createTime;
    private Long creator;
    private Date updateTime;
    private Long updater;

    private Integer status;

    @Column(name = "logic_delete")
    private Integer logicDelete;

    @Column(name = "select_push_type")
    private Integer selectPushType;
    @Column(name = "select_company_ids")
    private String selectCompanyIds;

    @Id
    @GeneratedValue
    @Column(name = "id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "title")
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Column(name = "content")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Column(name = "start_time")
    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getAppEndTime() {
        return appEndTime;
    }

    public void setAppEndTime(Date appEndTime) {
        this.appEndTime = appEndTime;
    }

    @Column(name = "show_channel")
    public String getShowChannel() {
        return showChannel;
    }

    public void setShowChannel(String showChannel) {
        this.showChannel = showChannel;
    }

    public Integer getAppShowHour() {
        return appShowHour;
    }

    public void setAppShowHour(Integer appShowHour) {
        this.appShowHour = appShowHour;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name = "creator")
    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    @Column(name = "update_time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Column(name = "updater")
    public Long getUpdater() {
        return updater;
    }

    public void setUpdater(Long updater) {
        this.updater = updater;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(Integer logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Integer getSelectPushType() {
        return selectPushType;
    }

    public void setSelectPushType(Integer selectPushType) {
        this.selectPushType = selectPushType;
    }

    public String getSelectCompanyIds() {
        return selectCompanyIds;
    }

    public void setSelectCompanyIds(String selectCompanyIds) {
        this.selectCompanyIds = selectCompanyIds;
    }
}
